package ads.pin.pinmon.scenes;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class StartScene extends Scene {

	public StartScene(Game game) {
		this.m_game = game;
		m_spriteBatch = new SpriteBatch();

	}

	public void update(float deltaTime) {
		if (Gdx.input.isKeyPressed(Input.Keys.ENTER)) {
			m_game.setScreen(new PlayerScene(m_game));

		} else if (Gdx.input.isKeyPressed(Input.Keys.ESCAPE)) {
			m_game.dispose();
		}

	}

	@Override
	public void draw(float deltaTime) {
		// TODO Auto-generated method stub

	}

}
